package com.rapid.auth.service;

import com.rapid.user.module.vo.SysUser;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestHeader;

/**
 * @author zxh
 * @Title: SysUserService
 * @ProjectName rapid-auth
 * @Description: TODO
 * @date 2019/3/2020:53
 */
@FeignClient(value = "rapid-user")
public interface SysUserService {

    @RequestLine("GET /selectOne")
    public SysUser findByName(@RequestHeader("name")String  name);


}
